﻿<?php 
	session_start();
		$fp=fsockopen('localhost',80,&$errno,&$errstr,5);
		if(!$fp){
			echo "$errstr ($errno)<br />\n";
		}
			
		//atention to end the str with \r\n
		fputs($fp,"GET /trunk/chenyong/asyndeal.php?route=grab/logingrab&oauth_token=33bdaafc9994cecda51f0f4feb63780e&oauth_token_secret=68b66a46279ed4c4b498ecdc6fcc8b51\r\n");
		fclose($fp);
		if(isset($_SESSION['time'])){
		$_SESSION['time']=$_SESSION['time']+1;}else{$_SESSION['time']=1;}
		
		$a=array(array(1,1.5),2,3,4);
		foreach($a as $v){
			echo '<br/>'.$v;
		}
		
		echo 'over'.$_SESSION['time'];
?>